Skip to main content

ON_END_FIRSTHERO

ON_END_FIRSTHERO

This Event is executed when the first hero finishes the quest.

  • Example: {[[(I), ON_END_FIRSTHERO]] You are the first to escape alive the maze! you earn 200 gold pieces and the eternal glory!}
In this example, it is assumed that the heroes started from different cells than the stairs and that the goal is indeed to escape from the stairs. In this example, the first hero to reach them will trigger the message “You are the first to escape alive the maze! you earn 200 gold pieces and the eternal glory!”. (Note that by default, the stairs are the way to exit the dungeon).